<?php 
    //pr($dvutsvs);
?>
<div class="dvutsvs index">
	<h2><?php __('Danh sách đoàn viên ưu tú');?></h2>
	<?php echo 'Học kỳ: '.$hockyht['Hockie']['tenhocky']; ?>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php __('MSSV');?></th>
            <th><?php __('Họ tên');?></th>
			<th><?php __('Số người đồng ý');?></th>
			<th><?php __('Ghi chú');?></th>
	</tr>
	<?php
	$i = 0;
    $j=1;
	foreach ($dvutsvs as $dvutsv):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $dvutsv['Dvutsv']['sinhvien_id']; ?>
		</td>
        <td>
            <?php echo $dvutsv['Sinhvien']['hoten']?>
        </td>
		<td><?php echo $dvutsv['Dvutsv']['songuoidongy'].'/'.$dvutsv['Dvutsv']['songuoithamgiabau']; ?>&nbsp;</td>		
		<td><?php echo $dvutsv['Dvutsv']['ghichu']; ?>&nbsp;</td>
	</tr>
    <?php $j++;?>
<?php endforeach; ?>
	</table>
</div>